#ifndef __DKGL_DRAW_LIST_H__
#define __DKGL_DRAW_LIST_H__

#include <list>


namespace DKGL
{
    class Drawable;

    class DrawList
    {
    public:

        DrawList();

        ~DrawList();

        void add(Drawable*);

        void flush();

        static DrawList& Instance()
        {
            static DrawList instance;
            return instance;
        }

    private:

        std::list<Drawable*> _drawList;

    };
}

#endif